package satir.card;

import satir.player.Player;

/**
 * The Class RoleCard.
 * 
 * @version 1.0 4 February 2012
 * @author Antony Chan
 */

public class RoleCard extends Card { // Incorrect : CardFactory,
	/** The name of the Role card. */
	private String name;

	/** The description of the Role card. */
	private String description;

	/**
	 * Instantiates a new role card.
	 */
	public RoleCard() {
	}

	/**
	 * Initialize a new role card.
	 * 
	 * @param name
	 *            role card name 
	 * @param description
	 *            role card description
	 */
	public RoleCard(String name, String description) {
		this.name = name;
		this.description = description;
	}

	/*
	 * Incorrect public Card createCard() { throw new
	 * UnsupportedOperationException(); }
	 */

	/*
	 * (non-Javadoc)
	 * 
	 * @see stair.card.Card#activateCard(stair.player.Player)
	 */
	
	/**
	 * Activate role card function.
	 *
	 * @param p the player object
	 */
	public void activateCard(Player p) {
		throw new UnsupportedOperationException();
	}
}